/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.conformPrinciple.DIP;

import za.ac.cput.conformPrinciple.DIP.Impl.PetDataImp;

/**
 *
 * @author Oceanwave
 */
public class renderOutputService 
{
    private AnimalData myPet;
    
    void createPet(AnimalData thatPet)
    {
        myPet = thatPet; 
    }

    void renderDetails()
    {
        System.out.println("Pet:\n----\n" + myPet.getDiet() + "\n" + myPet.getName() + "\n" + myPet.getNumLegs());
    }
}
